using ChikovMF.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ChikovMF.Context.EntityConfigurations;

public class SilderImageConfiguration : IEntityTypeConfiguration<SliderImage>
{
    public void Configure(EntityTypeBuilder<SliderImage> builder)
    {
        builder.HasIndex(ci => ci.RelatedObjectId).IsUnique(false);
    }
}
